﻿<phone:PhoneApplicationPage x:Class="DevPhoneToolkitSample.Samples.CalendarControlSample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent" Margin="0,20">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel>
            <Border Background="White" VerticalAlignment="Top" BorderBrush="Gray" BorderThickness="1">
                <Image Name="Logo" Source="/DevPhoneToolkitSample;component/Images/DevPhoneToolkit.png" Stretch="None" VerticalAlignment="Top" HorizontalAlignment="Left" />
            </Border>
        </StackPanel>
        <Grid x:Name="ContentPanel" Grid.Row="1">
            <ScrollViewer>
                <StackPanel>
                    <StackPanel x:Name="CalendSampleBasic" Tap="CalendSampleBasicTap">
                        <StackPanel Margin="12,20,12,0">
                            <TextBlock Text="Calendar Control Sample" FontSize="32"/>
                            <TextBlock Text="Show a calendar with minimum and maximum value , mark color dates and  change  by  gestures" TextWrapping="Wrap" FontSize="18" Margin="0,0,0,10" />
                            <TextBlock Text="Basic" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                            <TextBlock Text="Default values without gestures." FontSize="18" Margin="0,0,0,10" />
                        </StackPanel>
                    </StackPanel>
                    <StackPanel x:Name="CalendSampleCulture" Tap="CalendSampleCultureTap">
                        <StackPanel Margin="12,5,12,0">
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="Culture" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                                <Image Source="/DevPhoneToolkitSample;component/Images/new.png" Margin="10,0,0,0" />
                            </StackPanel>
                            <TextBlock Text="Sample set CultureUI." FontSize="18" Margin="0,0,0,10" />
                        </StackPanel>
                    </StackPanel>

                    <StackPanel x:Name="CalendSampleGestures" Tap="CalendSampleGesturesTap">
                        <StackPanel Margin="12,5,12,0">
                            <TextBlock Text="Gestures" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                            <TextBlock Text="Default values with gestures." FontSize="18" Margin="0,0,0,10" />
                        </StackPanel>
                    </StackPanel>
                    <StackPanel x:Name="CalendSampleColors" Tap="CalendSampleColorsTap">
                        <StackPanel Margin="12,5,12,0">
                            <TextBlock Text="Control Colors" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                            <TextBlock Text="Color options." FontSize="18" Margin="0,0,0,10" />
                        </StackPanel>
                    </StackPanel>
                    <StackPanel x:Name="CalendSampleToday" Tap="CalendSampleTodayTap">
                        <StackPanel Margin="12,5,12,0">
                            <TextBlock Text="Today Mark / Color" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                            <TextBlock Text="Today color and mark." FontSize="18" Margin="0,0,0,10" TextWrapping="Wrap" />
                        </StackPanel>
                    </StackPanel>
                    <StackPanel x:Name="CalendSampleDateMark" Tap="CalendSampleDateMarkTap">
                        <StackPanel Margin="12,5,12,0">
                            <TextBlock Text="Marking Dates" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                            <TextBlock Text="Date disabled, marking date with color and option of mark position." FontSize="18" Margin="0,0,0,10" TextWrapping="Wrap" />
                        </StackPanel>
                    </StackPanel>
                    <StackPanel x:Name="CalendSampleDateMaxMin" Tap="CalendSampleDateMaxMinTap">
                        <StackPanel Margin="12,5,12,0">
                            <TextBlock Text="Max. / Min. range" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                            <TextBlock Text="setting a limit of maximum and minimum change of dates." FontSize="18" Margin="0,0,0,10" TextWrapping="Wrap" />
                        </StackPanel>
                    </StackPanel>
                    <StackPanel x:Name="CalendSampleInterface" Tap="CalendSampleInterfaceTap">
                        <StackPanel Margin="12,5,12,0">
                            <TextBlock Text="MVVM Ready!" FontSize="48" Foreground="{StaticResource PhoneAccentBrush}" />
                            <TextBlock Text="Enabling execution of methods for use with pattern MVVM." FontSize="18" Margin="0,0,0,10" TextWrapping="Wrap" />
                        </StackPanel>
                    </StackPanel>

                </StackPanel>
            </ScrollViewer>
        </Grid>
    </Grid>
</phone:PhoneApplicationPage>
